//package com.yx.b34.utils;
//
//import android.os.Handler;
//import android.os.Looper;
//
//import java.lang.ref.WeakReference;
//
///**
// * 描述：弱引用Handler抽象类
// * Created by huangyk on 2016/8/12.
// */
//public abstract class WeakHandler<T> extends Handler {
//
//    private WeakReference<T> mOwner;
//
//    public WeakHandler(T owner) {
//        mOwner = new WeakReference(owner);
//    }
//
//    public WeakHandler(Looper looper) {
//        super(looper);
//    }
//
//    public WeakHandler(Looper looper, T owner) {
//        super(looper);
//        mOwner = new WeakReference(owner);
//    }
//
//    public T getOwner() {
//        return mOwner.get();
//    }
//
//}